package com.hex.ds.hdtp.core.inf.data.contrast.repository;

import com.hex.ds.hdtp.core.inf.common.page.Page;
import com.hex.ds.hdtp.core.inf.common.repository.IBasicRepository;
import com.hex.ds.hdtp.core.inf.data.contrast.po.CrossDbContrastListPo;

import java.util.List;

/**
 * @Package: com.hex.ds.hdtp.core.inf.data.contrast.repository
 * @ClassName ICrossDbContrastListRepository
 * @Description:跨库对比清单-数据服务接口
 * @Author: wz.li
 * @Date 2023/7/24 16:23
 * @Version v2.0.2
 **/
public interface ICrossDbContrastListRepository extends IBasicRepository<CrossDbContrastListPo> {

    /*
     * @Method: queryListByPage <br>
     * @Param: [crossDbContrastListPo, toPage] <br>
     * @Return: com.hex.ds.hdtp.core.inf.common.page.Page<com.hex.ds.hdtp.core.inf.data.contrast.po.CrossDbContrastListPo> <br>
     * @Description：分页查询<br>
     * @Author： wz.li<br>
     * @Date： 2023/7/24 18:16 <br>
     * @Version： V2.0.2<br>
     */
    Page<CrossDbContrastListPo> queryListByPage(CrossDbContrastListPo crossDbContrastListPo, Page toPage);

    /*
     * @Method: queryList <br>
     * @Param: [crossDbContrastListPo] <br>
     * @Return: java.util.List<com.hex.ds.hdtp.core.inf.data.contrast.po.CrossDbContrastListPo> <br>
     * @Description：不分页查询<br>
     * @Author： wz.li<br>
     * @Date： 2023/7/24 18:16 <br>
     * @Version： V2.0.2<br>
     */
    List<CrossDbContrastListPo> queryList(CrossDbContrastListPo crossDbContrastListPo);

    /**
     * @param taskPkId
     * @Method removeByTaskPkId
     * @Param
     * @Return void
     * @Description 根据任务主键删除
     * @Author Wang zhihao
     * @Date 2023/8/7 17:13
     * @Version V1.0
     */
    void removeByTaskPkId(String taskPkId);

    /**
     * @param crossDbContrastListPo
     * @Method addWithBackId
     * @Param
     * @Return java.lang.String
     * @Description 新增并返回主键
     * @Author Wang zhihao
     * @Date 2023/8/16 17:44
     * @Version V1.0
     */
    String addWithBackId(CrossDbContrastListPo crossDbContrastListPo);

    /**
     * @Method modifyStatus
     * @Param pkId
     * @Param status
     * @Return java.lang.Integer
     * @Description 更新清单状态
     * @Author gj.xu
     * @Date 2024/1/6 19:23
     * @Version V2.0
     */
    Integer modifyStatus(String pkId, String status);
}
